package com.kuang.hellospringboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//自动装配
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        //调用业务接收前端参数
        return "hello springboot";
    }
}
